package com.itcast.dao;

import com.itcast.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @className: OrderSettingDao
 * @description: TODO 类描述
 * @author: Jng
 * @date: 2022/4/8
 **/
public interface OrderSettingDao {
    void add(OrderSetting orderSetting);

    void editNumberByOrderDate(OrderSetting orderSetting);

    long findCountByOrderDate(Date orderDate);

    OrderSetting getById(Integer id);

    List<OrderSetting> getOrderSettingByMonth(Map map);

    OrderSetting findByOrderDate( Date orderDate);

    void editReservationsByOrderDate(OrderSetting orderSetting);
}
